added show/hide logic (corresponding to login state) for vote and spam flags