public string GetPublicKey()
        {
            string headerKey = Request.Headers.GetValues("ApiKey").First();

            if (accessor.CheckUserExists(headerKey))
            {
                accessor.CreateNewLogEntry(headerKey, "User request Protected/GetPublicKey");
                return(WebApiConfig.RSAProvider.ToXmlString(false));
            }
            return("");
        }