Local Storage Support

messages are now stored in the local storage of the browser and retrieved if the user reloads the page