check existence of userId