Add path to cookie and properly delete old graph models