Store and display error or information messages to display on the current page or next page