registration, login, and logout are now all working