public MainForm() {
        init_frame();

        // Make a user to test functionality. Userid = 100, Password = 100.
        Person testPerson = new Patient("James", "1", "James", "Test", "9/8/93", "88211-924-123", "Address", "City", "198-123-123",
                "326-822-8823", "jamesemail.com", "eEC", "EEC", "123-853-8228", "3923-124-138", "InsuranceProvider",
                "InsuranceAccount", "m", "CA", "20", "","","94542", 5);

        Person testPerson2 = new Patient("Joel", "Password", "Joel", "Santiago", "12/31/86", "123-45-678", "123 Main St", "Pleasanton", "198-123-123",
                "326-822-8823", "joelsemail.com", "eEC", "EEC", "123-853-8228", "3923-124-138", "InsuranceProvider",
                "InsuranceAccount", "m", "CA", "26", "","","94588", 5);

        Person testDoc = new Doctor("admin", "admin", "Mutahar", "Ahmed", "docmiddle",
                "dateof", "m", "social", "doc@email", "mobile1232", 2, 1, "3", 3, 2);

        hospital.getAllUsers().put(testPerson.getUserName(), testPerson);
        hospital.getAllUsers().put(testPerson2.getUserName(),testPerson2);
        hospital.getAllStaff().put(testDoc.getUserName(), testDoc);

        loginButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                useLoginButtonAction();
            }
        });

        clearButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                clearTextFields();
            }
        });

        signUpButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                CardLayout cl = (CardLayout) contentPane.getLayout();
                cl.show(contentPane, "New User Page");
            }

        });
    }