Refactor Post create method