moving addToCart to cart_func.php