Xmpp controller