Add get records to database module