Fixed login functionality
Merge pull request #28 from blind-squirrel/alex

Fixed login functionality