Implemented sendMessage event that allows users to send/receive messages, which are displayed on the chatroom's message board.