Refactoring.  Permissions bug fix on users update.