adding in navigation controller and root view