Smarter dispaly/not display of the registration form