replace getAllUsers by getAllUserIds