Add controller for the UI that converts private key to public address