Fix sidebar not being sensitive to citizen logout. Closes #274