adds method navigateTo MainWindow that calls navigateTo js on window object - no page reload anymore when user clicks links in the Accoun menu