saving and reading of history at server WORKS!!!