Adds method that displays records to UI