Improved functions comments on view/TeamView.php