filled in doc.py and contact.py

You need ```user = current_user()``` here