created form and enabled submit