added session var to config