emit null if username doesn't exist