Registration, Login, and Logout implented