refactored validations for invitations and removed @example.com emails