Add ErrorPage service and template file