the rewrite of the models for posting and comments in blog assignment