Update login.js

updated the js