Section 5. A person belonging to such society shall continue a member thereof until he files with the clerk a written declaration of the dissolution of his membership; but after filing such notice he shall not be liable for any grant or contract thereafter made on entered into by such society. No person shall be made a member of a religious society without his written consent.