simplify the username fetching
must clear the chat tabs on logout