created teamsController.js