Updated logout route