Undefined index: is_superuser corrected