small issue in login.js