Added SSO code base from bsmp project