added teams controller and index