implemented clearance check to view documents in mop intranet