updated registration form UI with resource