Updated Blog and Posts Controller