public void onUserCreated(User user) {
   Intent data = new Intent();
   Log.d("TMM", "Adding user " + user.getName());
   data.putExtra(User.KEY_USER, user);
   setResult(ActionBarActivity.RESULT_OK, data);
   finish();
 }
 public void onUserEdited(User user) {
   Intent data = new Intent();
   Log.d("TMM", "Editing user " + user.getName());
   setResult(ActionBarActivity.RESULT_OK, data);
   finish();
 }