Handling the form submission
Persist the tasks in a database