add support of sessions