There is an obsolete block (user id) that is used to be in alpha/beta versions of Scratch 2.0 which is already inside the project, but it still reports undefined as it must report your ID of your username if logged in. Is it back yet? If so, when (user id) must not equal undefined or used to be greater than 0, then it should be returned already, otherwise, if user id still reports undefined, then it is still not back yet :(
A detector for the (user id) being returned later or not, for everyone to look around. Please Bring Back User ID By Signing Here: http://scratch.mit.edu/projects/25314057/#editor