implement add and edit of item type.
[fixbug] type name conflict login name.
add service php file.