anchor.diff:  						<t:message type="danger" message="Duplicate name found. Please enter a unique category name."></t:message>
   						<%	
   					}
  +
  +					d_pstmt.close();
  +					conn.close();
  +					check_pstmt.close();
  +					check_rs.close();
   				}
   				catch(SQLException e){
   					e.printStackTrace();
  
positive.code: 					
  					if(duplicate_name==false)
  					{
  						statement = conn.createStatement();
  						sql =	"INSERT INTO categories (name, img_url, description) " +
  								"SELECT ?,?,?";
  						d_pstmt = conn.prepareStatement(sql);
  
negative.code: 			if(role.equals("Owner"))
  			{
  				try{					
  					PreparedStatement check_pstmt = conn.prepareStatement("SELECT name FROM categories");
  					String input_c_name = ""+request.getParameter("name");
  					ResultSet check_rs = check_pstmt.executeQuery();
  