connected to the flickr API