removed user list from the chat panel
extracted the event handler as a field to prevent being garbage collected