Fix for login controller
Merge pull request #86 from wshafer/master

Fix for login controller