add status to hosts in cc ui

why do you return a pointer to an array here?