This needs to be called outside of the user condition so non-auth session users get their queries back.