Gnereated app controller