Sort users permissions list
Added automatic model creation