Hotfix/hash alterations

* Changed username to email for hash login
* More graceful method for empty password
* Removed unused variables