simple middleware to create contentpool.io cookie