add styling and content to error pages