change in view visitation staff logic