more saml code