changes in app controller