fixed problem with context processors

* 'WSGIRequest' object has no attribute 'session'
* ’WSGIRequest' object has no attribute ‘user’