Electron spectroscopy analysis on NbN to grow and characterize NbN/AlN/NbN Josephson junction