Added cookie functionality for 'anti-fraud'