serilise remaining locally temp stored data
DON'T have permanent database connection, open db only when needed