added hashing to the passwords