Check for nil when checking whether a user is an admin