A simple example of foursquare authentication using Ruby/Sinatra