Added submit page and functionality