When app is closed and then opened again, the app always logs the user out. The expected behavior would be to keep the session.