added key manager and flickr api request