save the token in the users home dir