added pin functionality for redemption