Add comments to login.js