Relax - CIA told NASA about the competition
and there wasn't much more to it.
Remember also that before he was shot Jack Kennedy decided he wanted to join with Soviet Union in Moon shot, or at least co-ordinate US/USSR manned efforts.
If you want full details, go to Mark Wade's Encyclopedia Astronautica web site.
enjoy -
ep
