Added @csrf_protect decorator from django.views.decorators.csrf to resolve csrf_token error