added error page and maintainance page