Ensure username is unique

- Handle error when registering with the same username