Better way to get userid in withings demo.

This is a better way to get the userid.