filled in doc.py and contact.py

Needs the method_decorators = [user_required]