Add some comments in find_legacy_user