Such instrument shall be signed by some responsible person, being a resident of this State, and be approved by the clerk, and shall bind such person to pay all costs which may accrue in such action, either to the opposing party or to any of the officers of the court in which the action is commenced, or to which it is removed by change of place of trial or appeal.
735 ILCS 5/5-102