Added filter by role query to user repo