brucec5/ubudget-api — pull request #9 by brucec5 (2013-05-03 20:08:34+00:00)
Title: Add ability to check logged-in status by GETting /session

Adds a new route to `GET /session` which returns the following:
* `200 OK` and JSON response `{"status":"Logged In"}` if there is a valid session cookie sent to the server
* `401 Unauthorized` and JSON response `{"status":"unauthorized"}` if there is no valid session cookie sent to the server

This will let the app simply check whether a user is logged in so that it can decide to show the login screen or go straight into the app.