added permissions  for admins
changed to task library to waitall
removed code not needed anymore
...
tweaking permissions adding
updated the js