anchor.diff:      MenuIcons =
           [
               {manage_account_tab, #li{body = #link{style = <<"padding: 18px;">>, title = <<"Manage account">>,
  -                url = <<"/manage_account">>, body = [user_logic:get_name(wf:session(user_doc)), #span{class = <<"fui-user">>,
  +                url = <<"/manage_account">>, body = [user_logic:get_name(gui_ctx:get_user_record()), #span{class = <<"fui-user">>,
                       style = <<"margin-left: 10px;">>}]}}},
               %{contact_support_tab, #li { body=#link{ style="padding: 18px;", title="Contact & Support",
               %    url="/contact_support", body=#span{ class="fui-question" } } } },
  
positive.code: maybe_redirect(NeedLogin, NeedDN, NeedStorage, SaveSourcePage) ->
      case NeedLogin and (not gui_utils:user_logged_in()) of
          true ->
              redirect_to_login(SaveSourcePage),
              true;
          false ->
              case NeedDN and (gui_utils:get_user_dn() =:= undefined) of
                  true ->
                      wf:redirect(<<"/manage_account">>),
                      true;
                  false ->
                      case NeedStorage and (not gui_utils:storage_defined()) of
                          true ->
                              wf:redirect(<<"/manage_account">>),
                              true;
                          false ->
                              false
  
negative.code: -spec get_user_dn() -> string().
  %% ====================================================================
  get_user_dn() ->
      try user_logic:get_dn_list(gui_ctx:get_user_record()) of
          [] -> undefined;
          L when is_list(L) -> lists:nth(1, L);
          _ -> undefined
  