Modification of how to detect v1 and v3 users

Modification of how to detect v1 and v3 users