added an error controller for custom 404 page