I need to log in my user based on this unique id. Does this help? Also does this work for mobile too? since users will use the website on mobile too.