adding main window + login form