added XMPP messaging