add singleSession option