implement the data grid display

also added a function to get all the data from the database