This is a 3 parter... Patch from aidil to fix perms in /wiz and /domains for directories without a domain/wizard attached to them.
Added some TODO items
Added a function to remove a user from the secure_d, it still needs some
work but it's a start.