Text this: Entanglement and quantum discord in the cavity QED models