registration form is closed after successful registration