new feature: error validation added to create new blog post