adding device secret_key