add error messages for creating a blog post & blog edit page