queryparam userid validation duplicate check