US markets log worst weekly loss in 3 months; Consumer sentiment improves in November; Shanghai Composite tanks over 5%