private void addPanelInit () {
		addPanel = new JPanel();

		//generates panels formatted layout of components
		generator.createRigidSpace(addPanel, 40);
		final JLabel testLabel = generator.createLabel(addPanel, "");		
		JLabel fNameLabel = generator.createLabel(addPanel, "First Name");	
		final JTextField fNameInput = generator.createTextField(addPanel, "");
		JLabel lNameLabel = generator.createLabel(addPanel, "Last Name");	
		final JTextField lNameInput = generator.createTextField(addPanel, "");
		JLabel companyLabel = generator.createLabel(addPanel, "Company");
		final JTextField companyInput = generator.createTextField(addPanel, "");	
		JLabel emailLabel = generator.createLabel(addPanel, "Email");
		final JTextField emailInput = generator.createTextField(addPanel, "");
		JLabel phoneLabel = generator.createLabel(addPanel, "Phone (xxx-xxx-xxxx)");
		final JTextField phoneInput = generator.createTextField(addPanel, "");
		JLabel addressLabel = generator.createLabel(addPanel, "Address");
		final JTextField addressInput = generator.createTextField(addPanel, "");
		generator.createRigidSpace(addPanel, 10);	
		final JLabel resultLabel = generator.createLabel(addPanel, " ", "");
		JButton doneButton = generator.createButton(addPanel, "Add client", 15);
		JButton backButton = generator.createButton(addPanel, "Back", mainViewName, 5);
		
		addPanel.setLayout(new BoxLayout(addPanel, BoxLayout.Y_AXIS));	
		
		//conditions for when doneButton is pressed - attempts to add the client to the DB
		doneButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e){
				resultLabel.setText(" ");
				boolean result = false;
				ClientClass newClient;
				//Quick Input test
				if(fNameInput.getText().matches("") || lNameInput.getText().matches("") || emailInput.getText().matches("")
						|| companyInput.getText().matches("") || phoneInput.getText().matches("") || addressInput.getText().matches("")){
					resultLabel.setText("Please fill out the empty fields");
					return;
				}
				//End of Input tests
				
				newClient = new ClientClass(fNameInput.getText(), lNameInput.getText(), emailInput.getText(), 
											companyInput.getText(), phoneInput.getText(), addressInput.getText());
				result = newClient.verifyInput();
				if (result == true){
					//attempts to add client to the Database
					result = ClientControllerClass.getInstance().addClient(newClient, UIControllerClass.currentUser);
					
					Object[] data = new Object[8];
					//sets all the given data to data for updating table
					data[0] = newClient.getClientId();
					data[1] = newClient.getFirstName();
					data[2] = newClient.getLastName();
					data[3] = newClient.getCompany();
					data[4] = newClient.getEmail();
					data[5] = newClient.getPhone();
					data[6] = newClient.getAddress();
					
					if (result == true){
						resultLabel.setText("Successfully added the client!");
						allClientsModel.addRow(data);
						fNameInput.setText("");
						lNameInput.setText(""); 
						emailInput.setText("");
						companyInput.setText("");
						phoneInput.setText(""); 
						addressInput.setText("");
					} else {
						resultLabel.setText("Error adding client to the database, Please try again...");

					}
				} else {
					resultLabel.setText("Invalid Input, Please try again...");
				}
			}			
		});
	}