first try at sending the state of the app back to the server for sharing