Add navbar and change several pages' layouts