title: Parse - Bypass Login in AppDelegate
body: <p>I am working to bypass login screen if the current user is not nil. To do this, I followed the recommendation posted <a href="https://stackoverflow.com/questions/29856651/bypass-login-view-if-parse-user-is-logged-in">here</a>. After running the code, I get a blank white view in the simulator without any errors showing. Here is the code:</p>
  
  <pre><code> storyboard = UIStoryboard(name: "Main", bundle: NSBundle.mainBundle());
          let currentUser = PFUser.currentUser()
          print(currentUser)
          if currentUser != nil {
              self.window?.rootViewController = storyboard?.instantiateViewControllerWithIdentifier("HomeViewController");
          }
  </code></pre>
  
  <p>Worth mentioning that HomeViewController is based on Tab navigation. What am I missing?</p>
  
  <p>The setup I have is:</p>
  
  <ul>
  <li>App is launched and the first view is the Sign In view (with button for signup). This initial view is SignInViewController and I embedded a UINavigationController to it.  </li>
  <li>User can login by providing credentials (if correct, segue is performed to redirect to HomeViewController)</li>
  <li>User can signup and follow the steps (multiple controllers). At the end they will be redirected to Home View Controller.</li>
  </ul>