get all records, backend