Change query to execute
User activity now references cookie