Refactor user sign-up.
Finish log in/log out