Added message when an user is typing a message and save the name user when the page is reloaded