post orders are switched on the server now, added comments & refactpr