show/hide login/logout buttons on event switch