Add loginWithThirdparty API