how can i keep my registration form from creating duplicate regsitrations