fixing routes for login and adding put
Merge pull request #5 from lessin/master

fixing routes for login and adding put