store password on local storage