added admin visibilty function