History - read data from the database