comment check session code