session configuration