Put add to cart functionality in the line_item create method.
Adding product to cart works successfully. Fixed typo in application
controller.