getPublicKeyDetails
properly saving the public key in the DB for admin users