error pages func completed and configured for 404, 500 and 403