if you add a unique key as suggested on a user registration against a base id, it seems this check could be removed