Refactored xmppAuth service to make it modular

* setXmppBasePath method to set base url
* sendMessage takes thre parameters now , userid, to_jid, message