Use more flexible XML schema for encoding resource production.
Use more flexible XML schema for encoding resource storage capacity.
Add logout script.