added check session for admintool