improve script to save auth data into a yaml file