Use Coffeescript to check coupons, fix admin authentication, fix coupon resubmission problem