creating post and comment boilerplate