add a basic UI for displaying and sending messages