add typeahed feature to registration (temp final commit)