         }
         else{
             showMenu();
+        }
+    }
+    
+    private func loadFeedData(){
+        FeedDataLoader.getInstance().load(){ (feedData) in
+            let mainStoryboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
+            let viewController = mainStoryboard.instantiateViewControllerWithIdentifier("MainTabBarController")
+            UIApplication.sharedApplication().keyWindow?.rootViewController = viewController
         }
     }
     

                    else{
                        InitialDataLoader.load(SharedData.user){ (success) in
                            if (success){
                                let needsOnboarding = SharedData.user.needsOnBoarding();
                                var mainController = "MainTabBarController"
                                if needsOnboarding{
                                    mainController = "OnBoardingNavigationController"
                                }
                                let mainStoryboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil);
                                let viewController = mainStoryboard.instantiateViewControllerWithIdentifier(mainController);
                                UIApplication.sharedApplication().keyWindow?.rootViewController = viewController;
                            }
                            else{
                                self.showMenu()

            
            Just.post(API.getLogInUrl(), json: API.getLogInBody(email, password: password)){ (response) in
                if response.ok && CompassUtil.isSuccessStatusCode(response.statusCode!){
                    SharedData.user = Mapper<User>().map(response.contentStr)!;
                    print(SharedData.user);
                    if (SharedData.user.needsOnBoarding()){
                        self.fetchCategories();
