Fixed error in function for database insert. No confirm_cake column in table.  Added if statement for client side Name and Time of Confirm.