Update login.js

if not do like this, it will be response failed forver!