update nav_bar 

Changed condition for displaying link to home page.