chat client UI functional