only username in login activity, disconnect before connecting xmpp