Setting cookie upon user activation