The polling script is currently written as a collection of loose functions with insecure file handling.
Create ClientPollService class to encapsulate all polling logic.
Remove raw file storage for tokens (or implement a secure wrapper).
Refactor the signup, login, and create_task functions into proper methods within the ClientPollService
Add proper logging and error handling to the polling loop.
The polling script is currently written as a collection of loose functions with insecure file handling.
Create ClientPollService class to encapsulate all polling logic.
Remove raw file storage for tokens (or implement a secure wrapper).
Refactor the signup, login, and create_task functions into proper methods within the ClientPollService
Add proper logging and error handling to the polling loop.