when erro clear the user model