Alter error controller to endpoint not found rather than page