MainWindow constructor contains User