cleaning up routes and redirects