add post comment func