Update login.js

revert to foo