commiting login.js and login.html changes for patrick