redeem code api work

added sanitizing for certain data. made redeem_promo_code work.