retrive data from database and displayed on to the list