added spid sso and added support for static sites