Added beta logic for workorder filtering by user and authentication required for show and index methods in workorder_controller'