create coupon in front end