changed script.js and getting login to work