adding addComment() method in Post model