The function index1 in views.py refers to user roles, and it should be changed to something that reflects it purpose.