added a navigation bar nonfunctioning