Made changes to Events/views.py