Added user registration and login/logout sessions