Add credential profile class instantiation in MainWindow()