registering bug fixed

Good catch TUSHKA. I messed up some variables working from the example
validation into our registering form. It is sorted.