Enabled login prompt.
Added main window.
Minor small changes.