fetching pictures from the NASA using their APOD api and populating into the UI with the favorite option