sign up and login working correctly, password hashed during sign up