Before updating data models - from student to user, add isAdmin
Implemented several functions in views.py