adding session to path