ajax for form submission. Needs styling (esp. errors)