added hashing passwords

IMPORTANT
getPassword no longer has any effect seeing as it is impossible to
retirieve the original password from the hash.
So I added a new method verify password that checks for you