Hooked up the form to the database commit