Refactor loading of 'All Contacts' page