added a deletion helper for posts