Added workorder filtering for index.html based on user affiliation