const authController = require('./controllers/authController'); const authMiddleware = require('./middleware/auth'); console.log('authController type:', typeof authController); console.log('authController.logout type:', typeof authController.logout); console.log('authMiddleware type:', typeof authMiddleware); console.log('authMiddleware.authMiddleware type:', typeof authMiddleware.authMiddleware); console.log('authController keys:', Object.keys(authController)); console.log('authMiddleware keys:', Object.keys(authMiddleware));