Remove console logs and add a controller for activating the navigation.