add controller to submitPage