Added functionality for updating the database when added to the shopping
cart. So when the user logs in next time he shall have his previosuly
selected items in the shopping cart.