String username = Util.getPortalRequestContext().getRemoteUser();
OrganizationService service = uiPortal.getApplicationComponent(OrganizationService.class);
User useraccount = service.getUserHandler().findUserByName(username);
if (useraccount != null) {
UIAccountSetting uiAccountForm = uiMaskWS.createUIComponent(UIAccountSetting.class, null, null);
uiMaskWS.setUIComponent(uiAccountForm);
uiMaskWS.setShow(true);
event.getRequestContext().addUIComponentToUpdateByAjax(uiMaskWS);
} else {
// Show message detail to user and then logout if user press ok button