check for case when no logged user