Promises for database Insert and List.