added navigation bar with minimal function