Corrected User ID creation so that now it produces unique user id's for devices.