Fix for registration of users that already exist

Fixes #8