List displays database entries and added getTaskList function