Added 'isLogged' session testing feature.