                 else
                     set(element, value)
 
-        set_account_tab_label(true, @settings.email_address)
+        set_account_tab_label(true, @fullname())
 
     # Store the properties that user can freely change to the backend database.
     # The other properties only get saved by direct api calls that require additional

            account_settings.set_view()
            # change the view in the account page to the settings/sign out view
            show_page("account-settings")
            # change the navbar title from "Sign in" to their email address -- don't use the one from mesg, which may be out of date
            set_account_tab_label(true, account_settings.settings.email_address)
            $("#account-forgot_password-email_address").val(account_settings.settings.email_address)



defaults = misc.defaults
required = defaults.required

set_account_tab_label = (signed_in, label) ->
    if signed_in
        top_navbar.pages['account'].icon = 'fa-cog'
        top_navbar.set_button_label("account", label)
    else
        # nothing
        top_navbar.set_button_label("account", "Sign in", "", false)
