Initial users administration.
User can be created with a specified permission.
Minor fixes.