Added templates for the error and 404 route.