fixed bug that cart is empty after login