Cannot get userid before registration!

Never try to be too clever unless it is really needed