implement POST data handling logic