created all columns for database and submit function

created all columns for database and submit function