route the submit to controller