Added a delete function to the blog application