modify user_login.js easier to use