error controller and layouts path config