BUG:fix a bug of check session on page_init