delete form and set routes