Added a login manager to manage login/ logout times