add post comment function