submit form in submitController