title: Problems with my app's login
body: <p>I have done a login for my app, so, to finish it, I modified the method didfinishlaunching from the delegate. 
  In this method, I take the session from the userdefaults and check if is valid(calling to my server). If it's correct, I load the main viewcontroller, if not, the login viewcontroller.</p>
  
  <p>The problem is that in the method didfinishlaunching I dont load any viewcontroller, because I am waiting the response from the server. I load the viewcontrollers in the connection's delegate. This causes me 2 problems:</p>
  
  <ul>
  <li>An error telling me I have to have one main view controller loaded </li>
  <li>If I do, I put an viewcontroller, the time that I am waiting the response that viewcontroller is displayed, and it's very ugly.</li>
  </ul>
  
  <p>I think that one solution may be to do another viewcontroller, only with a loading bar, and load it while I wait the response...</p>