setStylePrimaryName(Styles.RIGHT_NAV);
Label lbl;
// current user
vlUsername = new ViewLink();
lblUserDateCreated = new Label();
vlUserAccount = new ViewLink();
btnLogoff = new Button("logout", this);
Grid g = new Grid(4, 2);
lbl = new Label("user");
lbl.setStyleName("lbl");
g.setWidget(0, 0, lbl);
g.setWidget(0, 1, vlUsername);
lbl = new Label("created");
lbl.setStyleName("lbl");
g.setWidget(1, 0, lbl);
g.setWidget(1, 1, lblUserDateCreated);
lbl = new Label("account");
lbl.setStyleName("lbl");
g.setWidget(2, 0, lbl);
g.setWidget(2, 1, vlUserAccount);
g.setWidget(3, 0, btnLogoff);
frmLogout = new FormPanel();
frmLogout.setMethod(FormPanel.METHOD_POST);
frmLogout.setAction(GWT.getModuleBaseURL() + "adminLogout");
frmLogout.add(g);
frmLogout.addSubmitHandler(this);
frmLogout.addSubmitCompleteHandler(this);
SimplePanel simplePanel = new SimplePanel();
DOM.setElementAttribute(simplePanel.getElement(), "id", "currentUser");
simplePanel.add(frmLogout);
add(simplePanel);
// current account
vlCrntAcnt = new ViewLink();
lblCrntAcntType = new Label();
lblCrntAcntDateCreated = new Label();
g = new Grid(3, 2);
lbl = new Label("name");