start handling form submission