updated registration.blade logic