use name instead of username, if exists