Fixed root user check