Refactored Post controller methods