Add UserTypeahead object
Improve the code style