extend app controller in engine