filled in doc.py and contact.py

needs user=current_user()
Not sure how the user variable is currently being populated.