Changed the tab controller to utilize routes