add delete posts method