Rename doLogin to doLoginById