Private key now stores in cookies