fixing logout route