created a registration form