added loading of the data from DB