public void sql_add_account() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException
	{
		Class.forName("com.mysql.jdbc.Driver").newInstance();
		Statement s = GUI.con.createStatement();
		//CHANGE FUNCTIONS DEPENDING ON HIERARCHY
		if(GUI.Level == 1)
		{
			s.executeUpdate ("INSERT INTO all_users VALUES(default,"+ hierarchy_input.getText() +","+"\'"+f_name_input.getText()+"\',"+"\'"+l_name_input.getText()+"\',"+"\'"+username_input.getText()+"\',"+"\'"+password_input.getText()+"\',"+"\'"+access_code_input.getText()+"\',"+ "\'" + group_input.getText()+"\'"+");");
		}
		else if(GUI.Level == 2)
		{
			s.executeUpdate ("INSERT INTO all_users VALUES(default,"+ "3" +","+"\'"+f_name_input.getText()+"\',"+"\'"+l_name_input.getText()+"\',"+"\'"+username_input.getText()+"\',"+"\'"+password_input.getText()+"\',"+"\'"+access_code_input.getText()+"\',"+ "\'" + GUI.ugn +"\'"+");");
		}
		
		//The New Account will have a group name, if this group name exists, increment the count of the group by 1. If not, add the new group to groups 	
		s.executeQuery ("SELECT Member_Count FROM groups WHERE G_Name = \'"+group_input.getText()+"\';"); 
		ResultSet rs = s.getResultSet();
		int count = 0;
		while(rs.next())
		{
			count = rs.getInt("Member_Count");
			count++;
		}
		
		if (count == 0)
			s.executeUpdate("INSERT INTO groups VALUES(default," +"\'"+group_input.getText()+"\',"+"1"+");");
		else
			s.executeUpdate("UPDATE groups SET Member_Count = \'"+count+"\' WHERE G_NAME = \'"+group_input.getText()+"\';");
		rs.close();
		s.close();
	}