Added the delete post functionality