refactored blog post delete