Adding session configuration.