Updated log in with hashed passwords