add delete blogpost function