added a navigation view controller to manage view flow