Modification views.py for sending variables in base.html view