implementing superuserId query option