Completed Password Hasher

Completed the password hasher for login and register of users