I am creating an app that uses a username and password combination to check an API for access to a website. Once the login check happens, I would like to store an ID and hash on the device so that next time I run the app, users do not need to re-enter their credentials. Is this possible? Do variables in local storage remain when an app is closed, or are they wiped?