make sure we clear the cached userId and check for nulls on the search