Finished XMPP sample app