login

Login starts a session and (optionally) validates a user.