added role check in nav bar