refactor user ID filters