I have a `LoginManager` that managers users logging into my app and downloading their data from data...
j
I have a
LoginManager
that managers users logging into my app and downloading their data from database, and should be created/destroyed when the user logs in/out. Is there a common design pattern/implementation for this sort of dependency?