filled in doc.py and contact.py

This doesn't actually work the way Gary thinks it does, and I've documented the bug in the User class. Until he figures out how to fix it, this is fine.