Rename director LoginWindow to MainWindow