login.js fix try1

i hope dis works