added delete post functionality