TypeError: Cannot read property 'id' of undefined
at userController.index (/home/avinamod/avinaCosmetic/app/http/controllers/userController.js:49:59)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:94:5)