Improved HTTP 400 and HTTP 500 error pages