saving login.js changes