added the login route and view