refactoring PopulateSessionsPanel