Preload data in main app controller to get DRY code