Cleaned up views.py of diagnostics, and register.html from showing raw errors.
Submit page.