title: Return to initial view controller when user logs out
body: <p>I'm working on an app which uses Facebook integration, and the <code>log in</code> system works fine now. However, I can't seem to return to my initial view controller when the user clicks <code>log out</code>.</p>
  
  <p>Here's an overview of my <code>storyboard</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/Fz6e9.png" alt="Screenshot of storyboard"></p>
  
  <p>I would like to return to the start when the user clicks the <code>blue button</code> (on the top). What would I do to achieve that? As you can see I have multiple <code>Navigation Controllers</code>, and I only use <code>Push-segues</code>to get there. However, I do use the <code>SWRevealViewController</code>, which you can see in the middle. </p>
  
  <p>I've tried <code>[self.navigationController popToRootViewControllerAnimated:YES];</code> which doesn't do anything. </p>
  
  <p>Any advice? Anyone familiar with the <code>SWRevealViewController</code> and what it might have done to my <code>Navigation</code> stack? Any help will be appreciated!</p>
  
  <p>Thanks.  </p>