Fixed check for super admin

$user not set until after