removed unnecessary session variable + entry work

still doesn't work