Implemented delete post handler