added History table to DatabaseHelper