implement a simple partials system for the templates, and lessen permissions on the auth files after upload