removed some unneded comments and added a dedicated method for get the data from the database. deleted constructor too as it does the same as its parent