added auth state