before modify login.js