Judge sidebar

TODO: fix session restoration feature