Inserts form values into DB