fix visualization query not working for non-login case
fix visualization query not working for non-login case

1self/api,maximilianhp/api,johnnorris/api,1self/api,1self/api,maximilianhp/api,maximilianhp/api,johnnorris/api,1self/api