filled in doc.py and contact.py

You'll need to query the user here with user = current_user()