Refactor user into service.