added ui for chat