ch 8: added router
ch 8: added navbar