add status to hosts in cc ui

you don't need to return a pointer to an array