Review get UID process and log errors

-> Change the SHARE_MODE, to allow device sharing