housekeeping code related to Viewer Role