ufm: more rename work

* work on rename functionality
* add code to detect if admin and protected folders