Creating the login form and corresponding call in controller and view.