Select the spy, then click on any visible enemy soldier to disguise him. He’ll flicker back and forth between his disguise and his normal appearance so you can keep track of him. Don’t forget, attack dogs can see right through the disguise and will kill spies on sight!
as for the database, you should be able to use wikis for each game; they’re very well documented.