make isAdmin work better when user is null