part 3, connect xmpp