added foursquare try catch error handling in case of server problems