title: When to check if user is logged in?
body: <p>So I'm working on an app that communicates with a web server. The app has a login page, after which the main contents are revealed(when logged in).
  My question is when should I check to see if the user is logged in when the app is launched?
  Currently, I'm storing the cookies, and making a request at the start of the app, but the request has a slight delay. This causes the login screen to be visible for a second and then (when the response is received) the view segues to the content view. The problem is that if logged in, the user shouldn't have to see/ wait for the login view at the beginning. </p>