little change to registerpage