Add text typing handler (askUsername function).