Updated teams.php and team manager.php

All major functions are now in place, just need to implement the
confirmation modal on deletes.