Added functionality to enable or disable a route