adjust createMember to use an object instead of just account_id