error controller is added and application controller is updated