Handle duplicate usernames exceptions.