added playsecret generator and made dbpair robust

added playsecret generator and made dbpair robust by replacing
particular placeholder