add comment function for comment on the post