Validate before inserting
Handle submissions