add more expectation to login.js