implemented navigation bar