merged getAllUsers