setting up the tabbar controller