added message display and sending