$$(document).on('page:init', '.page[data-name="account_edit"]', function(e) {

  $(document).off("click", "#user_signout").on("click", "#user_signout", function(e) {

    e.preventDefault();

    localStorage.removeItem('f04_user');

    localStorage.removeItem('f04_data');

    localStorage.removeItem('f04_action');

    localStorage.removeItem('f04_bank');

    localStorage.removeItem('f04_company');

    localStorage.removeItem('f04_inventory');

    localStorage.removeItem('f04_journal');

    localStorage.removeItem('f04_person');

    localStorage.removeItem('f04_product');

    localStorage.removeItem('f04_sales');

    localStorage.removeItem('f04_transaction');

    app.views.main.router.navigate('/intro/');  

    window.location.reload()

  });

})