application controller inherits from main app