SAML and SQL stuff

Author: Maulik Patel