server : node server, getCurrentState added