public ActionResult CreateUser(CreateUserDTO user)
 {
     try
     {
         return(CreatedAtAction(nameof(CreateUser), loginServices.CreateUser(user.FullName, user.FriendlyName, user.Email, user.Password)));
     }
     catch (Exception ex)
     {
         logger.LogError(ex, ex.Message);
         return(BadRequest(ex.Message));
     }
 }