use new way to inject app into controllers