channel work for login/logout button