change routing and redirects