Inject form and filter to controller,modify the routes