PHP: add TTL functionality to user consent