few minor changes to the item loop, notification on autosave and controller optimisation
changed all references to userType to LOWERCASE