Remove connections API and add sessions API