Begins implementing observeChanges function on server side