Use auth state to handle loading.