update nav bar with more conditions
Merge pull request #80 from RKim220/ajax

update nav bar with more conditions