Added the MainFrame.
MainFrame opens after Login.
Login closes automatically.