Updates after vocation

Implemented user management, user right, code management, search code.
Start to work on rule management