Added a last sync attribute to track server fetch

I added a `lastSync` attribute (with a getter) to keep track of when was the last server sync.