fix issue #69

if a user tries to update his name (or email) with an existing one the
request fails and returns an error USERNAME_ERR or EMAIL_ERR