Adds comments to sample configuration file for improved readability.
Adds database calls to login. Checks if Foursquare user exists in db when authorizing access to app.