Made task 9 (merge cart after log in).