How do I create a registration form for 2 variables