Fix loading when no user is logged in