Actually, OnUserRegister is too early. I know OnSetConnectClass is not for this, but it works in m_services_account. It seems to be mainly a question about which event to hook onto.