Basics for registration and login.