Quick URL fix
Fixed a few bugs in login.js