Updated logout route.