register userid because its such an often used variable