Changed the DB insert to return the ID for future email confirmations. Also added and id field to submissions table