Added user-based provider filtering logic