added 404/500 error pages for hosting platform