implement tab bar and nav bar