Add doLoginByCredentials