Implemented TeamController.js