adding navigation bar and updating root page