added function to check permissions to install node