Added principal based security to match verify