added lots of foursquare code
fixed a couple issues