Change the user model (usernames are unique) and handle errors