added error message labels to each pagee
added error and success message labels to each page