Restore main() on LoginFrame.java