public void onSuccess(ZUser result) {
Platform s=new Platform(result);
final HomeApp home=new HomeApp(s.getPlatformContext());
s.addApp(home);
s.addApp(new DocumentApp(s.getPlatformContext()));
s.addApp(new ScheduleApp(s.getPlatformContext()));
s.addApp(new ReportApp(s.getPlatformContext()));
RootPanel.get().add(s);
s.getPlatformContext().getPlatformBus().fireEvent(new StartEvent());