added password hash for registration
Merge pull request #1 from sicbe/passwordhash

added password hash for registration
added login functionality
Merge pull request #2 from sicbe/loginfunctions

added login functionality