update navigation bar
initialize other pages