Remove unused code on login.js