Modification of how to detect v1 and v3 users

Modification of how to detect v1 and v3 users
Merge pull request #6 from mailjet/development

Merge the development and master branches