Bug fixes, code restructuring, and more server-side error checking

* Require user to be authenticated to view results
* Fixed bug that was causing dynamic updates to not occur sometimes
* Require Google authentication for admin page