add html5 local storage to save spark credentials