checking validity of user id before importing contacts