@Override
public void onSuccess(final GetUserInfoResult arg0) {
user.getOnline().addAll(arg0.getOnline());
user.getPendingFriends().addAll(arg0.getPendingFriends());
setContacts(toContactInfo(arg0.getFriends(), user.getOnline()));
LoadMessages action = new LoadMessages(arg0.getFriends());
dispatcher.execute(action, new AsyncCallback<LoadMessagesResult>() {
@Override
public void onFailure(Throwable caught) {
GWT.log("Error doing LoadMessages", caught);
}