I'm working on a swift iPhone application using Parse for the backend and when I restart the app the `currentUser` isn't recognized and returns nil redirecting to the login page. Once I sign back in the user stays logged in until I stop the app. 

```
if PFUser.currentUser() == nil {
  //return to the login page 
} else {
  // perform normal operations
}

```

I'm curious why this is happening since the only place I have `PFUser.logOut()` is in a logout function which is not on the initial view controller and only called when a button is pressed. Thanks in advance for the help!

**EDIT**: This problem began occurring this morning. The past 2 weeks I haven't had any issues regarding automatic login with parse. So I don't know what I could have done to cause it. The only code I changed between last night and this morning was trying to pass data from one view controller to a popoverViewController by adding delegates to my VC's but I have since deleted them and am still at a loss.