add directory examples with sessions