added dynamic navbar