testing the registration handler; db updates for uniqueness