made a login form. and mad e a working controller to display the view