check name exists otherwise use username