Lightroom 5 will not recognize raw images from Nikon D500
The D500 is a new camera whereas LR5 now is quite old.
You need to update to at least 6.5 to have it supported: Cameras supported by Camera Raw
Your other option is to use the free DNG converter, convert to DNG and import these into LR5.
Retrieving data ...