added route for login and logout

added template for login