Simplified the design of error pages (404, 500)