Method to fetch the all contacts