updated condition to show admin/user in the top panel