Added shared secret logic