Index: ChapterX.Infrastructure/DependencyInjection.cs
===================================================================
--- ChapterX.Infrastructure/DependencyInjection.cs	(revision a6e33d1f34c0dbbfff38bfb2c73eea32abfe7cff)
+++ ChapterX.Infrastructure/DependencyInjection.cs	(revision 877c13c3dd0934c1d31da7988d0d2c2c5925ed55)
@@ -1,8 +1,6 @@
 using ChapterX.Application.Abstractions;
-using ChapterX.Application.Auth;
 using ChapterX.Domain.Repositories;
 using ChapterX.Infrastructure.Data.DataContext;
 using ChapterX.Infrastructure.Repositories;
-using ChapterX.Infrastructure.Services;
 using Microsoft.EntityFrameworkCore;
 using Microsoft.Extensions.Configuration;
@@ -15,23 +13,8 @@
         public static IServiceCollection AddInfrastructure(this IServiceCollection services, IConfiguration configuration)
         {
-            var poolSection = configuration.GetSection("ConnectionPool");
-            var minPoolSize = poolSection.GetValue<int>("MinPoolSize", 1);
-            var maxPoolSize = poolSection.GetValue<int>("MaxPoolSize", 20);
-            var idleLifetime = poolSection.GetValue<int>("ConnectionIdleLifetime", 300);
-            var pruningInterval = poolSection.GetValue<int>("ConnectionPruningInterval", 10);
-            var commandTimeout = poolSection.GetValue<int>("CommandTimeout", 30);
-            var connectionTimeout = poolSection.GetValue<int>("Timeout", 15);
-
-            var baseConnectionString = configuration.GetConnectionString("Database")!;
-            var connectionString =
-                $"{baseConnectionString};Minimum Pool Size={minPoolSize};Maximum Pool Size={maxPoolSize};" +
-                $"Connection Idle Lifetime={idleLifetime};Connection Pruning Interval={pruningInterval};" +
-                $"Command Timeout={commandTimeout};Timeout={connectionTimeout}";
-
-            services.AddDbContextPool<ApplicationDbContext>(options =>
-                options.UseNpgsql(connectionString));
+            services.AddDbContext<ApplicationDbContext>(options =>
+                options.UseNpgsql(configuration.GetConnectionString("Database")));
 
             services.AddScoped<IApplicationDbContext>(sp => sp.GetRequiredService<ApplicationDbContext>());
-            services.AddScoped<IJwtTokenService, JwtTokenService>();
 
             services.AddScoped<IUserRepository, UserRepository>();
