added dynamic nav-bar and dynamic content from database