add navigation controller and tab bar navigation