Adding tests for user authentication.
Implementing user authentication.