Rework user login and signup.