Refactoring some post methods