Fixed where you could register undefined username