fix username dialog autoclose and username list and disconnection proble...

fixed problems.
1. username input dialog autoclose when click 'Go'
2. userlist select use username not socket.id
3. delete from userlist when disconnect