Added new function to retrieve team by ID
Added and updated team management function for web