fix hide all function in router
change router to pass name to mainView > headerView to activate current page