MESSAGES.INC.PHP: Refactored all POST calls to use the new model