added functionality of the delete comment

/api/deletecomment