add nav bar and controller