Added the delete funtion for blogs