Adding isValid isAdmin check at OSSUI