save function works list function not working. Database class now inserts data