Removed login() from receiver.js.