add back check for logged in user before search field gives autocomplete results