added template for error pages, messages.