changed index page, team controller keeps getting deleted