Implement log in, sign up, and log out