move reseller to users and refactoring