public async Task <IActionResult> PutLogin(UsrChangeUser changeLogin)
        {
            var validateErrors = changeLogin.Validate();

            if (validateErrors == null)
            {
                var result = await _userAuthentication.ChangeLoginAsync(changeLogin);

                if (result == null)
                {
                    Response.Headers.Add("auth", "logoff");
                    return(Ok());
                }
                Response.Headers.Add("error", result);
            }
            else
            {
                Response.Headers.Add("error", validateErrors);
            }
            return(BadRequest());
        }