handler.getPhotos now saves the urls to the photos