Updated to authenticate with SAML