availability check in new registration form works