add cart action
use class for model