Implementing the login form