adding session start handling