unset session variable on check; added minor design change in view