added support for XMPP accounts too