Add cart controller and method for add to cart