fixed login.js issue.
Need to fix.