added hashing to login