added application error handling
added error page