public IActionResult CheckAvailability(string UserName)
 {
     try {
         return(Ok(_userAccountService.CheckAvailability(UserName)));
     }
     catch (Exception Ex) {
         _loggerManager.LogError(Ex.InnerException.ToString());
         return(StatusCode(500, "Internal server error"));
     }
 }