add post and postcomment entity