first functionality in dynect: session api