Implemented auto scrolling to the bottom of the chat messages window, building chat message to send to server