need to treat logout msg from others
fix bugs