adding session controller