public async Task <IActionResult> Login([FromBody] UserLoginRequest request) { var loginResponse = await _authService.AuthenticateUser(request); if (loginResponse == null) { return(Unauthorized()); } return(Ok(new { token = _jwtService.GenerateJwt() })); }