refactor rendering users