moved active company filter from contrler to model