use XmppAccount class for connection and also extract user bit in it.