adds a logout route