switch to use UserRepository, pagination on users, and modified user routes