save account after generating API token