adding quit option to nav bar