made root login check mor readable