setup mg_xmpp