working on the gui for messages