refactor expenses post action