user-manager hooks