Update login.js

final commit