added error handling pages