Fixed errors preventing the main page from rendering
Added TODO comment in views.py
Main page can now only be accessed by its proper endpoints