added the apps controller