{
try
{
String userName = _user.getName();
deleteUserFromDatabase(userName);
PreferencesProvider preferencesProvider = getPreferencesProvider();
if (preferencesProvider != null)
{
preferencesProvider.deletePreferences(userName);
}
deleted();
_state = State.DELETED;
}
catch (AccountNotFoundException e)