add loginToSf.js ; make use of it