fix search and typeahead, add user counter