Adafruit CC3000 wifi module connects but Mifare RC522 RFID doesn't respond. HELP

I just want for both of them to send serial data to the serial monitor. the wifi is doing good but the rfid isn’t. please help. SS pin for each are different.

#include <Adafruit_CC3000.h>
#include <ccspi.h>
#include <SPI.h>
#include <string.h>
#include "utility/debug.h"



#include <MFRC522.h>

#define SS_PIN 10
#define RST_PIN 9

// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ   3  // MUST be an interrupt pin!
// These can be any two pins
#define ADAFRUIT_CC3000_VBAT  5
#define ADAFRUIT_CC3000_CS    7
// Use hardware SPI for the remaining pins
// On an UNO, SCK = 13, MISO = 12, and MOSI = 11

MFRC522 mfrc522(SS_PIN, RST_PIN);        // Create MFRC522 instance.


Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT,SPI_CLOCK_DIVIDER); 

#define WLAN_SSID       "PLDTMyDSL"        // cannot be longer than 32 characters!
#define WLAN_PASS       "asdfghkksdfks"
// Security can be WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or WLAN_SEC_WPA2
#define WLAN_SECURITY   WLAN_SEC_WPA2

    //declare a variable to hold a numeric IP address
    //can be overridden below if you use lookup
      uint32_t ip = (192L << 24) | (168L<<16) | (1<<8) | 37;


void setup()
{
  Serial.begin(9600);


  displayDriverMode();
  Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC);
  
  /* Initialise the module */
  Serial.println(F("\nInitialising the CC3000 ..."));
  if (!cc3000.begin())
  {
    Serial.println(F("Unable to initialise the CC3000! Check your wiring?"));
    while(1);
  }


  /* Optional: Get the SSID list (not available in 'tiny' mode) 
#ifndef CC3000_TINY_DRIVER
  listSSIDResults();
#endif
  */
  /* Delete any old connection data on the module */
  Serial.println(F("\nDeleting old connection profiles"));
  if (!cc3000.deleteProfiles()) {
    Serial.println(F("Failed!"));
    while(1);
  }

  char *ssid = WLAN_SSID;             /* Max 32 chars */
  Serial.print(F("\nAttempting to connect to ")); Serial.println(ssid);
  
  if (!cc3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
    Serial.println(F("Failed!"));
    while(1);
  }
   
  Serial.println(F("Connected!"));
  
  /* Wait for DHCP to complete */
  Serial.println(F("Request DHCP"));
  while (!cc3000.checkDHCP())
  {
    delay(100); // ToDo: Insert a DHCP timeout!
  }  

  /* Display the IP address DNS, Gateway, etc. 
  while (! displayConnectionDetails()) {
    delay(1000);
  }
  
  cc3000.printIPdotsRev(ip);
  
  */
  Serial.flush ();   // wait for send buffer to empty
delay (2);    // let last character be sent
Serial.end ();      // close serial
 
  

  
  
  /*

  Serial.println(F("\n\nClosing the connection"));
  cc3000.disconnect(); */
}

void loop()
{

 Serial.begin(9600);
     //SPI.begin();                // Init SPI bus
        mfrc522.PCD_Init();        // Init MFRC522 card

  
          // Prepare key - all keys are set to FFFFFFFFFFFFh at chip delivery from the factory.
        MFRC522::MIFARE_Key key;
        for (byte i = 0; i < 6; i++) {
                key.keyByte[i] = 0xFF;
        }
        // Look for new cards
        if ( ! mfrc522.PICC_IsNewCardPresent()) {
                return;
        }

        // Select one of the cards
        if ( ! mfrc522.PICC_ReadCardSerial()) {
                return;
        }
        // Now a card is selected. The UID and SAK is in mfrc522.uid.
        
        // Dump UID
        //Serial.print("Card UID:");
        for (byte i = 0; i < mfrc522.uid.size; i++) {
                Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : "");
                Serial.print(mfrc522.uid.uidByte[i], HEX);
        } 
        Serial.println();

        // Dump PICC type
        /*
        byte piccType = mfrc522.PICC_GetType(mfrc522.uid.sak);
        Serial.print("PICC type: ");
        Serial.println(mfrc522.PICC_GetTypeName(piccType));
        if (        piccType != MFRC522::PICC_TYPE_MIFARE_MINI 
                &&        piccType != MFRC522::PICC_TYPE_MIFARE_1K
                &&        piccType != MFRC522::PICC_TYPE_MIFARE_4K) {
                //Serial.println("This sample only works with MIFARE Classic cards.");
                return;
        }
               */
        
        // Halt PICC
        mfrc522.PICC_HaltA();

        // Stop encryption on PCD
        mfrc522.PCD_StopCrypto1();     
}

Why are you begin()ing and end()ing the Serial port?

Does the RFID reader work without the CC3000 connected?

PaulS: Why are you begin()ing and end()ing the Serial port?

That was an attempt to change the baud rate. Wifi works well on 115600 while RFID on 9600. Someone suggested that code. But regardless of that code, its not working anyway even without it. I also tried sticking with one baud rate, neither of them works

pylon: Does the RFID reader work without the CC3000 connected?

Yeah it works very fine alone.