small modifications for changing an account status in XmppConnection