Add tests for user authentication, password encryption and validation of email and password fields