add navigation controller & tab bar controller