Added basic user registration and login.