add home function(create team and search team)