old_contents: from django.http import HttpResponseRedirect
  from django.urls import reverse
  
  from app import utils
  
  
  def root_view(request):
      if not request.user.is_authenticated() and not utils.is_app_closed():
          return HttpResponseRedirect(reverse('account_signup'))
      if not request.user.is_authenticated() and utils.is_app_closed():
          return HttpResponseRedirect(reverse('account_login'))
      if (request.user.is_organizer or request.user.is_volunteer) and not request.user.email_verified:
          return HttpResponseRedirect(reverse('verify_email_required'))
      if request.user.is_organizer:
          return HttpResponseRedirect(reverse('vote'))
      elif request.user.is_volunteer:
          return HttpResponseRedirect(reverse('check_in_list'))
      return HttpResponseRedirect(reverse('dashboard'))
  
new_contents: from django.http import HttpResponseRedirect
  from django.urls import reverse
  
  from app import utils
  
  
  def root_view(request):
      if not request.user.is_authenticated() and not utils.is_app_closed():
          return HttpResponseRedirect(reverse('account_signup'))
      if not request.user.is_authenticated() and utils.is_app_closed():
          return HttpResponseRedirect(reverse('account_login'))
      if (request.user.is_organizer or request.user.is_volunteer) and not request.user.email_verified:
          return HttpResponseRedirect(reverse('verify_email_required'))
      if request.user.is_organizer:
          return HttpResponseRedirect(reverse('review'))
      elif request.user.is_volunteer:
          return HttpResponseRedirect(reverse('check_in_list'))
      return HttpResponseRedirect(reverse('dashboard'))
  
subject: fix root redirect to review