Get the data from the db and display it