Lodash library used
Debug logs corrected
Additional initialization step added
Authentication check moved to routes
Strict mode added
String endsWith method added
IP Check functionality added