Fixed a bug where user was not added to autocomplete