updated client side getRegisteredUsers