Main user registration and login system.