Refactored post and comment moderation