creating a registration form