Added JS code to persist user name in localstorage on mobile app.