Added error and success messages to pages.