controller interactions with main app