fixing logging in and passwords