add manage states and permission for change state