Fix loading the user list based on the input provided
Rather than retrieving the entire list of user which can be fairly
large just retrieve the portion corresponding to what the user is
looking for.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>