only allow hiding and showing when there is a user