add team page view funcion