moved submit page to its own template file