added userNameExists call