Fix null pointer when checking if the user can admin.
Dart Update Fixes