rest: allow to filter via user_id

Change-Id: I6e0414916c336a9c5e363126c2e7b2e579850d3a