Functionality to add a new post to the postInTopic table