documentation and fix for anon auth state