added SSO validation/authentication in update. unit tests are coming.