Created a form handler