added functions: can insert new messages and display correctly, chats scroll to bottom on render and on new message, messages post both from button click and hit enter, input field clears after each new message posted