add entry id into session