created the form, creates task in the db