changes for SSO stuff