adding session id tracking