refactored flickr user lookup