Refactor: result model & user controller