Testing oauth. Also winning and losing implemented.