save account and pswd to localStorage