adding session support