fix for problem that a user must be logged in to use autocomplete