Check for a session at startup
When the app is closed and reopened, you need to check for the existence of an access token to see if the user has an existing session.
When the app is closed and reopened, you need to check for the existence of an access token to see if the user has an existing session.