added secret key to device