move foursquare-api access to server