Added logic to connect on XMPP server after CAS and SSO succesfull login and i18n