                 # success
                 $("#account-settings-email_address").html(new_email_address)
                 account_settings.settings.email_address = new_email_address
-                set_account_tab_label(true, new_email_address)
                 close_change_email_address()
                 alert_message(type:"success", message:"Email address successfully changed.")
     return false

            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)



                else
                    set(element, value)

        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
