             
             self.addShortcutItems()
             
-            self.login()
-
-        }
-        
+            self.login(tabPos)
+
+        }
         return true
     }
     

        if let shortcutItem = launchOptions?[UIApplicationLaunchOptionsShortcutItemKey] as? UIApplicationShortcutItem {
            
            launchedShortcutItem = shortcutItem
        }
        
        // UI

    
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        var tabPos = Tabs.Profile
        
        // PUSH Notification
        let settings: UIUserNotificationSettings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
        application.registerUserNotificationSettings(settings)
        application.registerForRemoteNotifications()
        
        // Firebase
        FIRApp.configure()
