added 404/500 error pages