CrazyHorseHQ/smart_client — pull request #19 by marjaimate (2014-08-01 14:56:36+00:00)
Title: Login

Plumbing
========
* Create Login controller to govern the session around login and logout.
* Hook up Application controller to check the authentication every time.
* Created Auth Route (will be the parent of all routes that needs Auth to operate)
* Store the token and user info in the session

TODOS
======
* Use more permanent storage then a controller (localStorage, cookie, etc.)
* Send back the token on all requests as part of the header.