return empty cart when cart cannot be retreived from database
return cart passed as parameter when cart cannot be sotred into database