add conditions in whoisonline block