methods of model for blog