added persist and fetching, but it saves only the first time the server
is started