renamed getAllUsers to getUsers