Fixing isAdmin method