public async Task <IActionResult> Authenticate([FromBody] LoginDTO loginDTO)
        {
            try
            {
                LoginModel loginModel = await _userAuthService.IssueToken(loginDTO);

                return(Ok(new
                {
                    loginModel.user.Id,
                    loginModel.user.UserName,
                    loginModel.user.FirstName,
                    loginModel.user.LastName,
                    Token = loginModel.tokenString,
                    RefreshToken = loginModel.refreshToken
                }));
            }
            catch (Exception ex)
            {
                return(BadRequest(new { message = ex.Message }));
            }
        }