BeerWithMe/beer-finderWeb — pull request #31 by lpappone (2014-09-27 22:52:47+00:00)
Title: fixes token integration

Adds token authentication. Tokens expire in 7 days. If a user tries to go anywhere other than the login page, their http request is intercepted and their token, username, and expiration date are checked by our middleware. If they are not correct, it sends them back to home page. Otherwise, they continue on.