Refactor users into a model.