Refactored to render contacts in table with composite view