username was undefined