adding ui to chat