here my full code var username;var password;var Steam = require("steam");var steamCode;var SteamCommunity = require('steamcommunity');var community = new SteamCommunity();var fs = require("fs");var SteamUser = require('steam-user');var readline = require("readline");var LineByLineReader = require('line-by-line'),var user = new SteamUser();var rl = readline.createInterface({input: process.stdin,output: process.stdout}); user.on('steamGuard', function(domain, callback) {console.log("oops we need steam guard"); rl.resume();rl.question("enter SteamGuard code: ", function(answer) { steamCode = answer; rl.pause(); callback(steamCode);});});user.on('webSession', (sessionid, cookies) => {community.setCookies(cookies);/*got error E:\new\steambot\node_modules\steamcommunity\index.js:296 cookies.forEach((cookie) => { ^ TypeError: Cannot read property 'forEach' of undefined*/setupProfile("its a name");//got Error: Not Logged In at SteamCommunity._checkHttpError (E:\new\steambot\node_modules\steamcommunity\components\http.js:95:9)});user.on('loggedOn', () => {user.setPersona(SteamUser.EPersonaState.Online);console.log("Logged on!");user.gamesPlayed(730);user.emit("friendsList");user.emit("webSession"); }); user.on("friendsList", function() {for (var steamid64 in user.myFriends) {var relationship = user.myFriends[steamid64];if (relationship == SteamUser.EFriendRelationship.RequestRecipient) {addFriend(steamid64);console.log("we just add frind" + steamid64); }}});function addFriend(steamID){user.addFriend(steamID);}function setupProfile(username) {community.editProfile({'name' : username,}, function(err) {if (err) {console.log('Failed to Edit Profile');console.log(err);}});}