title: how to create iPhone Login/logout App?
body: <p>I want to create an application with Loginview first view so the procedure is as follows:
  Login interface appear if the user is Logout so if it is, another interface that appear with a button to logout or Exit</p>
  
  <p>my question:
  how to ensure that when a user is login when the applications Restart directly the second view so appear ?</p>
  
  <p>thx</p>