add the authentication and the login functionality.