Added the function assignCardToUser($dataArray)