attach chat to header bar