create register component