Added a singleton global viewmodel to track sessions