// if all is god then insert info into database