delete posts functionality added