changes made to app controller