logout route fix