add delete post functionality