Added rerouting in the route file