change logout route in main