log out and channel bug fixed