Reading state on the server side works