Updating routes for login and logout