Update login.js

removing server connection