add comments into login.js