Refactor foursquare checkin method