adding login controller instead of a closure
updating routes.php for login controller + login functionality