beginning code to insert comment into db