added a navigationbar