Reversed chat message ordering, and clear the input field on submit