#2 Completed user registration, account activation, login, and logout functions.