Few enhancement and bugfix on admin
Session::isActive()