filled in doc.py and contact.py

Same thing for limiting the deletes to this user.
ancestor=user.key