Hash password for login check
Fix user query on login check
Merge pull request #32 from kannibalox/master

Fix login handler