[Refactor] add const success_code variable in each API function
[Device] implement sm_device_add_user API
[Device] implement sm_device_remove_user API