revise some typo in login.js