validations for memberships