show or hide elements if logged