Replace console logs with structured logging using Winston. Log task creation, deletion, authentication events, and server errors.