Basics of user authentication.