added collection.fetch() to retrive all data from database