Adds save team functionality on the server.