Add if/else to nav bar