Adding route to the login check and logout