public void modifyUser(String user, int accType){
		Statement stmt = null;
		/*if(user.equals(dbUser)){
			JOptionPane.showMessageDialog(null, "Not modifying yourself, please" +
					" use a different account with administrator credentials" +
					" to modify \'"+user+"\''s user privileges.");
			return;
		}
		THIS IS NOT NEEDED.
		*/
		try{
			//Connection conn = DriverManager.getConnection(DB_URL, dbUser, dbPass);
			stmt = conn.createStatement();
			if(accType==0){
				try{
					stmt.executeUpdate("REVOKE ALL PRIVILEGES ON * . * FROM '"+user+"'@'localhost'");
					stmt.executeUpdate("REVOKE GRANT OPTION ON * . * FROM '"+user+"'@'localhost'");
					stmt.executeUpdate("GRANT SELECT ON * . * TO '"+user+"'@'localhost' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0");
					JOptionPane.showMessageDialog(null,"User '"+user+"' is now a user.","User modified",JOptionPane.INFORMATION_MESSAGE);
				}catch(SQLException ex){
					JOptionPane.showMessageDialog(null,"An error occured while trying to change privileges for "+user+". "+user+" may not exist?","Error",JOptionPane.WARNING_MESSAGE);
				}
			}else if(accType==1){
				try{
					stmt.executeUpdate("REVOKE ALL PRIVILEGES ON * . * FROM '"+user+"'@'localhost'");
					stmt.executeUpdate("GRANT ALL PRIVILEGES ON * . * TO '"+user+"'@'localhost' WITH GRANT OPTION  MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0  MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0");
					JOptionPane.showMessageDialog(null,"User '"+user+"' is now an admin.","User modified",JOptionPane.INFORMATION_MESSAGE);
				}catch(SQLException ex){
					JOptionPane.showMessageDialog(null,"An error occured while trying to change privileges for "+user+". "+user+" may not exist?","Error",JOptionPane.WARNING_MESSAGE);
				}
			}
			//conn.close();
			//stmt.close();
		}catch(SQLException ex){
			System.err.println(ex);
		}finally{
			if(stmt != null)
				try {
					stmt.close();
				} catch (SQLException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
		}
	}