from the result of server i think user is getting auto signin after every signout
✓ Starting...
✓ Ready in 2.2s
○ Compiling /[username] ...
✓ Compiled /[username] in 3.7s (975 modules)
UsernamePage: Processing username: "a1"
UsernamePage: Username "a1" is valid
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
GET /api/auth/session 200 in 6423ms
POST /api/auth/_log 200 in 70ms
POST /api/auth/_log 200 in 70ms
UsernamePage: Connected to database
UsernamePage: Searching for username: "a1"
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Found user: a1 (ID: 68a98f2d254b18e35467b02c)
GET /a1 200 in 7317ms
UsernamePage: Processing username: "favicon.ico"
UsernamePage: Username "favicon.ico" is valid
UsernamePage: Connected to database
UsernamePage: Searching for username: "favicon.ico"
User not found for username: "favicon.ico"
UsernamePage: All users in database: [ { username: 'a1', email: 'donganiraj180@gmail.com' } ]
GET /favicon.ico 200 in 81ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 40ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 45ms
○ Compiling /api/profile ...
✓ Compiled /api/profile in 966ms (1207 modules)
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 1288ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 59ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 40ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 43ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 58ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 52ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 53ms
GET /api/auth/csrf 200 in 20ms
✓ Compiled /api/auth/signout in 459ms (1221 modules)
=== SIGN-OUT API ENDPOINT CALLED ===
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Current session: exists
User signing out: donganiraj180@gmail.com
User ID: 68a98f2d254b18e35467b02c
Username: a1
Sign-out request received
Request method: POST
Request timestamp: 2025-08-23T10:17:07.565Z
=== SIGN-OUT API ENDPOINT COMPLETED ===
POST /api/auth/signout 200 in 660ms
○ Compiling / ...
✓ Compiled / in 565ms (1223 modules)
GET / 200 in 807ms
UsernamePage: Processing username: "favicon.ico"
UsernamePage: Username "favicon.ico" is valid
UsernamePage: Connected to database
UsernamePage: Searching for username: "favicon.ico"
User not found for username: "favicon.ico"
UsernamePage: All users in database: [ { username: 'a1', email: 'donganiraj180@gmail.com' } ]
GET /favicon.ico 200 in 103ms
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 199ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 259ms
○ Compiling /middleware ...
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 266ms
✓ Compiled /middleware in 667ms (210 modules)
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 326ms
○ Compiling /dashboard ...
✓ Compiled /dashboard in 930ms (1230 modules)
GET /dashboard 200 in 1095ms
GET /dashboard 200 in 51ms
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
UsernamePage: Processing username: "favicon.ico"
UsernamePage: Username "favicon.ico" is valid
UsernamePage: Connected to database
UsernamePage: Searching for username: "favicon.ico"
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
User not found for username: "favicon.ico"
UsernamePage: All users in database: [ { username: 'a1', email: 'donganiraj180@gmail.com' } ]
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 219ms
GET /favicon.ico 200 in 249ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 64ms
from the result of server i think user is getting auto signin after every signout
✓ Starting...
✓ Ready in 2.2s
○ Compiling /[username] ...
✓ Compiled /[username] in 3.7s (975 modules)
UsernamePage: Processing username: "a1"
UsernamePage: Username "a1" is valid
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
GET /api/auth/session 200 in 6423ms
POST /api/auth/_log 200 in 70ms
POST /api/auth/_log 200 in 70ms
UsernamePage: Connected to database
UsernamePage: Searching for username: "a1"
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Found user: a1 (ID: 68a98f2d254b18e35467b02c)
GET /a1 200 in 7317ms
UsernamePage: Processing username: "favicon.ico"
UsernamePage: Username "favicon.ico" is valid
UsernamePage: Connected to database
UsernamePage: Searching for username: "favicon.ico"
User not found for username: "favicon.ico"
UsernamePage: All users in database: [ { username: 'a1', email: 'donganiraj180@gmail.com' } ]
GET /favicon.ico 200 in 81ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 40ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 45ms
○ Compiling /api/profile ...
✓ Compiled /api/profile in 966ms (1207 modules)
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 1288ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 59ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 40ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 43ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 58ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 52ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 53ms
GET /api/auth/csrf 200 in 20ms
✓ Compiled /api/auth/signout in 459ms (1221 modules)
=== SIGN-OUT API ENDPOINT CALLED ===
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Current session: exists
User signing out: donganiraj180@gmail.com
User ID: 68a98f2d254b18e35467b02c
Username: a1
Sign-out request received
Request method: POST
Request timestamp: 2025-08-23T10:17:07.565Z
=== SIGN-OUT API ENDPOINT COMPLETED ===
POST /api/auth/signout 200 in 660ms
○ Compiling / ...
✓ Compiled / in 565ms (1223 modules)
GET / 200 in 807ms
UsernamePage: Processing username: "favicon.ico"
UsernamePage: Username "favicon.ico" is valid
UsernamePage: Connected to database
UsernamePage: Searching for username: "favicon.ico"
User not found for username: "favicon.ico"
UsernamePage: All users in database: [ { username: 'a1', email: 'donganiraj180@gmail.com' } ]
GET /favicon.ico 200 in 103ms
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 199ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 259ms
○ Compiling /middleware ...
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
GET /api/auth/session 200 in 266ms
✓ Compiled /middleware in 667ms (210 modules)
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 326ms
○ Compiling /dashboard ...
✓ Compiled /dashboard in 930ms (1230 modules)
GET /dashboard 200 in 1095ms
GET /dashboard 200 in 51ms
[next-auth][warn][NEXTAUTH_URL]
https://next-auth.js.org/warnings#nextauth_url
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
UsernamePage: Processing username: "favicon.ico"
UsernamePage: Username "favicon.ico" is valid
UsernamePage: Connected to database
UsernamePage: Searching for username: "favicon.ico"
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
User not found for username: "favicon.ico"
UsernamePage: All users in database: [ { username: 'a1', email: 'donganiraj180@gmail.com' } ]
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 219ms
GET /favicon.ico 200 in 249ms
Session: User donganiraj180@gmail.com authenticated with ID: 68a98f2d254b18e35467b02c
Profile GET: Successfully fetched profile for user donganiraj180@gmail.com (a1)
GET /api/profile 200 in 64ms