fix event routes
fix authentication cookie