login.js issue resolved